package cn.zlq;

import java.math.BigDecimal;

/**
 * @ClassName Capital
 * @Description TODO
 * @Author 郑万富
 * @Date 2020/11/23 10:57
 * @Version 1.0
 */
public abstract class Capital {
    BigDecimal loanMoney = null;//贷款本金
    BigDecimal yearRate = null;//年利率
    int totalMonth = 0;//总还款月
    BigDecimal monthTotalPayment = null;//月供总额
    BigDecimal monthPrinciple = null;//月供本金
    BigDecimal monthInterest = null;//月供利息
    public abstract BigDecimal calculate();
}
